package com.zhiyou.hospital.ssh.service.impl;

import com.zhiyou.hospital.ssh.dao.IRoleDao;
import com.zhiyou.hospital.ssh.model.RoleModel;
import com.zhiyou.hospital.ssh.service.IRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by zhouyanchao on 2017/10/19.
 * Descr:
 */
@Service
public class RoleServiceImpl extends BaseServiceImpl<RoleModel> implements IRoleService {

	@Autowired
	IRoleDao roleDao;

	@Override
	public List<RoleModel> queryAllRoles() {
		return roleDao.queryAllRoles();
	}
}
